﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Tencent.OA.ACM.Entity
{
    //Relationship
    [DataContract]
    public class Relationship
    {

        /// <summary>
        /// ID
        /// </summary>	
        [DataMember]
        public int ID { get; set; }

        /// <summary>
        /// 映射编码。格式为XXX_XXX，如App_Dat表示应用系统对应数据库
        /// </summary>	
        [DataMember]
        public string MapCode { get; set; }

        /// <summary>
        /// 源ID
        /// </summary>	
        [DataMember]
        public Guid SourceID { get; set; }

        /// <summary>
        /// 目标ID
        /// </summary>	
        [DataMember]
        public Guid TargetID { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>	
        [DataMember]
        public string Operator { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>	
        [DataMember]
        public DateTime LastUpdate { get; set; }

        /// <summary>
        /// 1是历史记录，0是正常记录
        /// </summary>	
        [DataMember]
        public int IsHistory { get; set; }


    }
}

